/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yy.bugzillahelp.data.server;

/**
 *
 * @author hualun-alan
 */
public class ServerData {

    private String id;
    private String connectName;
    private String serverUrl;
    private String userName;
    private String password;

    public ServerData() {
    }

    public ServerData(String id, String connectName, String serverUrl, String userName, String password) {
        this.id = id;
        this.connectName = connectName;
        this.serverUrl = serverUrl;
        this.userName = userName;
        this.password = password;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getConnectName() {
        return connectName;
    }

    public void setConnectName(String connectName) {
        this.connectName = connectName;
    }

    public String getServerUrl() {
        return serverUrl;
    }

    public void setServerUrl(String serverUrl) {
        this.serverUrl = serverUrl;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return getClass().getCanonicalName()
                + "[ID=" + getId() + ",Connect Name=" + getConnectName() + ",Connect URL=" + getServerUrl() + ",User Name=" + getUserName() + "]";
    }

    public static void main(String[] args) {
        System.out.println(new ServerData());
    }
}
